package org.dromara.system.controller;

import org.dromara.page.PageQuery;
import org.dromara.page.TableDataInfo;
import org.dromara.system.domain.bo.SysUserBo;
import org.dromara.system.domain.vo.SysUserVo;
import org.dromara.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName EY-SysUserController
 * @Description org.dromara.system.controller
 * @Author menyj
 * @Date 2025/9/20
 **/
@RestController
public class SysUserController {

    @Autowired
    private ISysUserService iSysUserService;

    @GetMapping("/user/list")
    public TableDataInfo<SysUserVo> selectUserList(SysUserBo user, PageQuery pageQuery) {
        return iSysUserService.selectPageUserList(user, pageQuery);
    }
}
